<div class="content">
	<?php
	$tools = array();
	echo n_mod('skin')->pageHead("样式风格",$tools)
	?>
	<div class="n-sep">
		<?php
		if(!empty($data['style'])){
		foreach($data['style'] as $key=>$val){
		?>
		<dl class="n-box n-sep-bottom">
			<dt class="n-box-head">
				<span class="n-right">
					<?php
					if($val['id']==$data['conf']['selected']){
					?>
					正在使用
					<?=n_ui(n_url('skin',"install",array('id'=>$val['id'])),"安装")?>
					<?php
					}elseif(in_array($val['id'],$data['conf']['style'])){
					?>
					<?=n_ui(n_url('skin',"selected",array('id'=>$val['id'])),"选择")?>
					<?=n_ui(n_url('skin',"install",array('id'=>$val['id'])),"安装")?>
					<?php
					}else{
					?>
					<?=n_ui(n_url('skin',"install",array('id'=>$val['id'])),"安装")?>
					<?php
					}
					?>
				</span>
				<?=$val['name']?>---
			</dt>
			<dd class="n-box-body">
				<div class="n-sep">
					<?php
					print_r($val['preview_muboxid']);
					?>
					<?=$val['descript']?>
				</div>
			</dd>
		</dl>
		<?php
		}
		}else{
		?>
		<div>暂无</div>
		<?php
		}
		?>
	</div>
</div>
